//
//  CustomAlertView.h
//  handbook
//
//  Created by bao_wsfk on 12-8-2.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface CustomAlertView : UIAlertView{
    
    @private
    NSTimer *timer;
    UIActivityIndicatorView *progressInd;
}

//初始化自动消失的alertView
- (id)initAutoDismissAlert:(NSString *)title 
                   message:(NSString *)message 
                  delegate:(id)delegate 
                      time:(int)time;

//初始化等待的alert
- (id)initWaitAlert:(NSString *)title 
            message:(NSString *)message 
           delegate:(id)delegate;

- (void)dismiss;

@end
